#define MyAppName "Data Viewer"
#define MyAppVerName "Data Viewer 1.0"
#define MyAppPublisher "Data Viewer"
#define MyAppExeName "emdp-qt-project.exe"

[Setup]
AppName={#MyAppName}
AppVerName={#MyAppVerName}
AppPublisher={#MyAppPublisher}
ChangesAssociations=yes
DefaultDirName={pf}\{#MyAppName}
DefaultGroupName={#MyAppName}
AllowNoIcons=yes
OutputDir=D:\setup output
OutputBaseFilename=dataviewer
SetupIconFile=D:\Study\svn-project\dataViewer\favicon.ico
Compression=lzma
SolidCompression=yes

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked


[Icons]
Name: "{group}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#MyAppName}}"; Flags: nowait postinstall skipifsilent

[Files]
Source: "D:\Study\svn-project\dataViewer\release\emdp-qt-project.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\QtCore4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\QtGui4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\QtOpenGL4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\QtSql4.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\libmysql.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "D:\Study\svn-project\dataViewer\release\sqldrivers\qsqlmysql4.dll"; DestDir: "{app}\sqldrivers"; Flags: ignoreversion
